package com.dd.cloud.user.entity.doctor;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import com.gitee.sunchenbin.mybatis.actable.annotation.Table;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

@Data
@EqualsAndHashCode
@Accessors(chain = true)
@Table(comment = "医生设置服务")
public class DoctorSettingService {


    @TableId(value = "id", type = IdType.AUTO)
    @Column(isKey = true, isAutoIncrement = true)
    private Integer id;


    /**
     * 医生id
     */
    @Column(comment = "医生id")
    private Integer doctorId;

    /**
     * 业务科室
     */
    @Column(comment = "业务科室名")
    private String deptName;

    /**
     * 是否开启图文问诊
     */
    @Column(comment = "是否开启图文问诊 0.未开启 1.已开启", defaultValue = "0")
    private Integer isOpenInquiry;

    /**
     * 图文问诊价格
     */
    @Column(comment = "图文问诊价格", defaultValue = "0")
    private Integer inquiryPrice;

    /**
     * 图文问诊每日号数量
     */
    @Column(comment = "图文问诊每日号数量", defaultValue = "300")
    private Integer inquiryNum;

    /**
     * 是够开启图文咨询
     */
    @Column(comment = "是否开启图文咨询 0.未开启 1.已开启", defaultValue = "0")
    private Integer isOpenConsult;

    /**
     * 图文咨询价格
     */
    @Column(comment = "图文咨询价格", defaultValue = "0")
    private Integer consultPrice;

    /**
     * 图文咨询每日号数量
     */
    @Column(comment = "图文咨询每日号数量", defaultValue = "300")
    private Integer consultNum;

    /**
     * 是否首页推荐
     */
    @Column(comment = "是否首页推荐 0.未开启 1.已开启", defaultValue = "0")
    private Integer isOpenRecommend;

    /**
     * 创建时间
     */
    @Column(comment = "创建时间")
    private LocalDateTime createDate;

    /**
     * 更新时间
     */
    @Column(comment = "更新时间")
    private LocalDateTime updateDate;

    /**
     * 提醒设置
     */
    @TableField(exist = false)
    private Integer isTip;

}
